<?php
namespace app\admin\model;
use think\Model;

class Result extends model{
	function findatatime($datatime){
		$res = db('result')->where('datatime',$datatime)->count();
		return $res;
	}
	function findall(){
		$res = db('result')->select();
		return $res;
	}
}